PATHMac OS 8 Developer Documentation > Human Interface Toolbox > Control Manager >

Programming With the Mac OS 8.5 Control Manager


IsValidControlHandle

Reports whether a given handle is a control handle.

pascal Boolean IsValidControlHandle (
                     ControlHandle theControl);
theControl
A value of type ControlHandle . Pass the handle to be examined.
function result
A value of type Boolean . The IsValidControlHandle function returns true if the specified handle is a valid control handle; otherwise, false .

DISCUSSION

The IsValidControlHandle function confirms whether a given handle is a valid control handle, but it does not check the validity of the data contained in the control itself.


VERSION NOTES

Available with Mac OS 8.5 and later.


© 1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)